using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KyLuatSinhVienEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: KyLuatSinhVienEntity</para>
	/// <para>Description: ClassKyLuatSinhVienEntity store data of table KyLuatSinhVien</para>
	///</summary>

	[DataContract]
	public partial class KyLuatSinhVienEntity{


		private bool _InternalChangedIsNullKyLuatSinhVien_ID=true;
		private bool _IsNullKyLuatSinhVien_ID=true;
		private bool _InternalChangedIsNullHinhThucKyLuat_ID=true;
		private bool _IsNullHinhThucKyLuat_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullNgayKyLuat=true;
		private bool _IsNullNgayKyLuat=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private int _KyLuatSinhVien_ID;
		private int _HinhThucKyLuat_ID;
		private int _SinhVien_ID;
		private DateTime _NgayKyLuat;
		private int _NamHoc_ID;
		private int _HocKy_ID;
		private string _GhiChu;
		[DataMember]
		public bool IsNullKyLuatSinhVien_ID{
			get{return _IsNullKyLuatSinhVien_ID;}
			set{if(!_InternalChangedIsNullKyLuatSinhVien_ID)_IsNullKyLuatSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullHinhThucKyLuat_ID{
			get{return _IsNullHinhThucKyLuat_ID;}
			set{if(!_InternalChangedIsNullHinhThucKyLuat_ID)_IsNullHinhThucKyLuat_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullNgayKyLuat{
			get{return _IsNullNgayKyLuat;}
			set{if(!_InternalChangedIsNullNgayKyLuat)_IsNullNgayKyLuat=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public int KyLuatSinhVien_ID{
			get{return _KyLuatSinhVien_ID;}
			set{
				_KyLuatSinhVien_ID=value;
				if(_KyLuatSinhVien_ID!=null){
					_IsNullKyLuatSinhVien_ID=false;
					_InternalChangedIsNullKyLuatSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int HinhThucKyLuat_ID{
			get{return _HinhThucKyLuat_ID;}
			set{
				_HinhThucKyLuat_ID=value;
				if(_HinhThucKyLuat_ID!=null){
					_IsNullHinhThucKyLuat_ID=false;
					_InternalChangedIsNullHinhThucKyLuat_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayKyLuat{
			get{return _NgayKyLuat;}
			set{
				_NgayKyLuat=value;
				if(_NgayKyLuat!=null){
					_IsNullNgayKyLuat=false;
					_InternalChangedIsNullNgayKyLuat=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KyLuatSinhVienEntityBase*****************************************/
	/*****************************************************************************************************/
}

